Translating a Modal Language with Embedded Implication into Horn Clause Logic
نویسندگان
چکیده
In this paper we present a method for translating Horn clauses extended with modalities and embedded implication (which provide reasoning capabilities in a multiagent situation and hypothetical reasoning) into Horn clauses, therefore suitable for SLD resolution. The translation takes two steps: the rst one eliminates embedded implications by introducing new modalities; the second eliminates modalities by adding an argument which represents the worlds of the Kripke semantics to all predicates. 1 Introduction Modal logics are widely used in computer science and artiicial intelligence to deal with knowledge and beliefs, time, actions, and several researchers have proposed modal extensions of logic programming languages 7, 1, 13, 19, 17, 6]. In particular, in 5] we have deened a modal logic programming language which allows both multiple modalities and embedded implications. The language has been shown to be well suited for structuring knowledge, and, in particular, for deening module constructs within programs, for representing agent beliefs and also for hypothetical reasoning. This language has a goal directed operational semantics which has been proved to be sound and complete with respect to the Kripke semantics. The operational derivability of a goal is deened with respect to a notion of modal context, which consists of a sequence of modal operators. The modal context keeps track of the new clauses which are added to the program when evaluating implication goals. The modal operators of this language are rather speciic, since the language was deened for providing constructs for modularizing programs, and for allowing simple reasoning capabilities in a multiple agent environment. However, the goal directed procedure can be extended to similar languages whose modal operators have diierent properties. In the next section we introduce the modal language, and recall its operational semantics. The goal directed procedure gives a precise deenition of the operation behaviour of a program, and provides a means for executing a program. However the actual implementation of the procedure can raise several problems. The simplest solution of building an interpreter (say in Prolog), may turn out to be extremely ineecient, since the interpreter will have to deal with the modal context, and, in particular, with the dynamically added clauses. In this paper we present a diierent approach, based on translating our language into Horn clause logic, so that the translated program can be executed by any Prolog interpreter or compiler, with the advantage that many features, such as uniication or variable renaming, are …
منابع مشابه
Translating propositional extended conjunctions of Horn clauses into Boolean circuits
Horn is a logic programming language which extends usual Horn clauses by adding intuitionistic implication in goals and clause bodies. This extension can be seen as a form of structuring programs in logic programming. We are interested in finding correct and efficient translations from Horn⊃ programs into some representation type that, preserving the signature, allow us suitable implementations...
متن کاملGoals in the Propositional Horn Language Are Monotone Boolean Circuits
Horn⊃ is a logic programming language which extends usual Horn clauses by adding intuitionistic implication in goals and clause bodies. This extension can be seen as a form of structuring programs in logic programming. Restricted to the propositional setting of this language, we prove that any goal in Horn⊃ can be translated into a monotone Boolean circuit which is linear in the size of the goal.
متن کاملA Logic for Hypothetical Reasoning
This paper shows that classical logic is inappropriate for hypothetical reasoning and develops an alternative logic for this purpose. The paper focuses on a form of hypothetical reasoning which appears computationally tractable. Specifically, Horn-clause logic is augmented with rules, called embedded implications, which can hypothetically add atomic formulas to a rulebase. By introducing the no...
متن کاملTranslating a detailed linguistic semantic representation into Horn clause logic
From the semantic representation produced by TANKA, a domain-independent, knowledge-scant, and interactive natural language analyzer, we construct Horn clauses which represent the facts or rules found in technical texts, specifically legal texts. This article describes the conversion process and the way it takes into account the detailed structure returned by the analyzer, a precise syntacticse...
متن کاملA Strong Logic Programming View for Static Embedded Implications
A strong (L) logic programming language ([14, 15]) is given by two subclasses of formulas (programs and goals) of the underlying logic L, provided that: firstly, any program P (viewed as a L-theory) has a canonical model MP which is initial in the category of all its L-models; secondly, the L-satisfaction of a goal G in MP is equivalent to the L-derivability of G from P , and finally, there exi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996